function timerEvent() {
	
	// states:
	// -1: Unstarted
	// 	0: Ended
	//	1: Playing
	// 	2: Paused
	// 	3: Buffering
	// 	5: Cued
	// Added by Joram
	//  6: Seeking
	
	for(var i=0; i<2; i++) {
		
		// slider position
		if (vidState[i] == 1) {
			updateSliderSlider(i);
		}
		
		// buffer
		if (vidState[i] != -1 && vidState[i] != 0) {
			updateBufferSlider(i);
		}
		
		// playing button
		if (vidState[i] == 1) {
			setPlayButton(true, i);
		} else {
			setPlayButton(false, i);
		}
		
		
	}
	
	//-- autodj
	
	if (autoDJ) {
	
		djCheck();
		
	}
	
	
	
}